package com.jf.identity.mongo.impl;

import com.jf.identity.entity.DeviceRoute;
import com.jf.identity.mongo.AbstractBaseMongoTemplete;
import com.jf.identity.mongo.DeviceRouteDao;
import org.springframework.stereotype.Repository;

@Repository
public class DeviceRoutDaoImpl extends AbstractBaseMongoTemplete implements DeviceRouteDao {
    @Override
    public int insertDeviceRoute(DeviceRoute deviceRoute) {
        mongoTemplate.insert(deviceRoute);
        return 0;
    }
}
